#ifndef slak_tetris_screen_h
#define slak_tetris_screen_h

#include "tetris.h"
#include "renderer.h"
#include "slak/glui/screen.h"
#include "slak/glui/toggle.h"

namespace slak {
	namespace tetris {
		struct GameScreenPriv;

		struct GameScreen : slak::glui::Screen {
			Game * game;
			Renderer renderer;
			GameScreenPriv * priv;
			slak::glui::Toggle gameover_toggle;

			GameScreen(Game * game);
			virtual ~GameScreen();
			virtual bool handle(SDL_Event& ev);
			virtual void draw();
		};
	}
}

#endif
